class Hello {
    public static void main(String[] argv) {
		System.out.println("hello,wrold");
		
	}
	public void play(int x,int y) {
		Chess.seqence++;
		Color c= (Chess.seqence/2==0)?Color.WHITE:Color.BLACK;

		Chess.chess[x][y]=new Point(c,true,Chess.seqence);

	}
}
enum Color {WHITE,BLACK};

class Point {
	//enum Color {WHITE,BLACK};
	Color color;
	boolean alive;
	int seq;
	public Point(Color c,boolean b,int s) {
		this.color=c;
		this.alive=b;
		this.seq=s;
	}
}

class Chess {
	public static final int SIZE=19;
	public static int seqence = 0;
	public static Point[][] chessOnPad=new Point[SIZE][SIXE];
	public static Point[] chessPlayed=new Point[500];
	static {
		for(int i=0;i<SIZE;i++)
			for(int j=0;j<SIZE;j++) 
			chess[i][j]=null;
		
	}
	public static Point[] getNeig(int x,int y) {
		Point up=((y>0) & (y<SIZE)) ? chess[x][y-1] : null;
		Point down=((x>0) & (x<SIZE)) ? chess[x-1][y]:null;
		Point[] result= {up,down};//new Point[2] ;
		//result[0]=up;result[1]=down;
		return result;
	}
}




